package cosplay.DAO;

import java.util.List;

import cosplay.Beans.CompetitionDetails;

public interface CompetitionDetailDAO {
	public List<CompetitionDetails> getAll(int cid);
	public List<CompetitionDetails> getLastJoined(int cid);
	public List<CompetitionDetails> getMostComment(int cid);
	public List<CompetitionDetails> getMostViewed(int cid);
	public List<CompetitionDetails> getMostVoted(int cid);
	public byte[] getCover(int rid);
	public byte[] getCoverpreview(int rid);
	public CompetitionDetails get(int uid, int cid);
	public CompetitionDetails get(int rid);
	public boolean edit(int uid,int cid,CompetitionDetails detail);
}
